package com.sptpc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sptpc.mapper.ArticleTypeMapper;
import com.sptpc.pojo.ArticleType;
import com.sptpc.service.ArticleTypeService;

@Service
public class ArticleTypeServiceImpl implements ArticleTypeService{
	
	@Autowired
	ArticleTypeMapper articleTyperMapper;
	
	@Override
	public List<ArticleType> getArticleType() {
		// TODO Auto-generated method stub
		return articleTyperMapper.getArticleType();
	}


	@Override
	public List<ArticleType> getArticleType2(String typecode) {
		// TODO Auto-generated method stub
		return articleTyperMapper.getArticleType2(typecode);
	}

}
